﻿Public Class ucCapnhatHangxuat

    Private Sub ButtonItemThoat_Click(sender As Object, e As EventArgs) Handles ButtonItemThoat.Click
        Dim uc As New ucCapnhatHangxuat
        Me.Controls.Add(uc)
        Dim parent = DirectCast(Application.OpenForms.Item(0), Main)
        parent.CloseModalPanel(uc, DevComponents.DotNetBar.Controls.eSlideSide.Right)
    End Sub

    Private Sub ButtonXThemKhachhang_Click(sender As Object, e As EventArgs) Handles ButtonXThemKhachhang.Click
        'Dim uc As New ucCapnhatcongty
        'uc.Dock = DockStyle.Fill
        'Dim parent = DirectCast(Application.OpenForms.Item(0), Main)
        'parent.ShowModalPanel(uc, DevComponents.DotNetBar.Controls.eSlideSide.Left)
    End Sub
End Class
